package com.pan.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class OrderDetail implements Serializable {
    private int orderDetailId; // 主键通常不需要设置setter
    private Integer orderId;
    private Integer bookId;
    private Integer quantity;
    private BigDecimal price;
}